package com.wang.home.mapper;

import com.wang.home.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wang.home.entity.vo.StudentRoleVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wang
 * @since 2021-04-30
 */
@Repository
public interface StudentMapper extends BaseMapper<Student> {
    Student getStudentByName(String studentName);

    List<StudentRoleVo> findStudents();
}
